package com.xz.xzutils.module.toolwindow.tabs;

import javax.swing.*;

/**
 * <p>
 *
 * </p>
 *
 * @author DONG.WANG17@HAND-CHINA.COM
 * @since 2025-01-04 13:56
 */
public abstract class BaseTab {
    private String tabName;
    private JComponent jComponent;
    public BaseTab (String tabName) {
        this.tabName = tabName;
    }
    public BaseTab (JComponent jComponent) {
        this.jComponent = jComponent;
    }
    public BaseTab (String tabName, JComponent jComponent) {
        this.tabName = tabName;
        this.jComponent = jComponent;
    }
    public void setTabName(String tabName) {
        this.tabName = tabName;
    }

    public String getTabName() {
        return this.tabName;
    }

    public void setJComponent(JComponent jComponent) {
        this.jComponent = jComponent;
    }

    public JComponent getJComponent() {
        return this.jComponent;
    }
}
